package com.fin.quant.instra.mysql.model;

import java.util.Date;

/**
 * 标签表
 */
public class Tag {
    /**
    * 标签ID
    */
    private Long tagId;

    /**
    * 标签名 (如: 高股息、稳定分红)
    */
    private String name;

    /**
    * 标签类别 (收益, 稳定, 风险)
    */
    private String category;

    /**
    * 权重，用于排序展示
    */
    private Integer weight;

    /**
    * 创建时间
    */
    private Date createdAt;

    /**
    * 更新时间
    */
    private Date updatedAt;

    /**
    * 过期时间，NULL 表示永不过期
    */
    private Date expiredAt;

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getExpiredAt() {
        return expiredAt;
    }

    public void setExpiredAt(Date expiredAt) {
        this.expiredAt = expiredAt;
    }
}